def zhi():
    lst = []
    for i in range(2,101):
        for z in range(2, i):
            if i%z==0:
                break
        else:
            lst.append(i)
    return lst
def luan(lst):
    new_lst = []
    for i in range(len(lst) - 1):
        if lst[i + 1] - lst[i] == 2:
            new_lst.append((lst[i], lst[i+1]))
    return new_lst

l = zhi()
print(l)
l = luan(l)
print(l)

